#ifndef _SCUDB_LOG_H_
#define _SCUDB_LOG_H_
#include "sd_global.h"

extern FILE* g_LogErrFile;
extern FILE* g_LogFile;

sd_Ret sd_log_err(const char* fmt,...);
sd_Ret sd_log(const char* fmt,...);

#define SD_SET_LOGFILE(fp) (g_LogFile = fp)
#define SD_SET_LOGERR(fp) (g_LogErrFile = fp)

#endif

